import * as types from './mutation-types'
import Cache from '../common/cache'

export const saveApp = function ({commit}, app) {
  commit(types.SET_APP, Cache.save('app', app))
}
